package com.gugee.ins.common.dal.service.blogger;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gugee.ins.common.model.mysql.blogger.InsRelBloggerLocation;

import java.util.List;

/**
 * insBlogger dao
 * @author Huangxin
 */
public interface InsRelBloggerLocationDao extends IService<InsRelBloggerLocation> {

    /**
     * 根据uid查找数据
     * @param uid
     * @return
     */
    List<InsRelBloggerLocation> findByUid(long uid);

    /**
     * 批量插入
     * @param insRelBloggerLocations
     * @return
     */
    void batchInsert(List<InsRelBloggerLocation> insRelBloggerLocations);

    /**
     * 从帖子表插入
     * @param uid
     * @param timeLimit
     * @return
     */
    void insertByUidTimeLimit(long uid,long timeLimit);
}
